<?php

// 团购商品表

namespace app\shop\model;

use think\Model;

class GroupGoods extends Model
{

    public function ShopGoods()
    {

        return $this->hasOne('ShopGoods', 'id', 'goods_id')->field('id,title,thumb_img,parenTid,rebate_percentage,price,goods_id,goods_str,sale_number');
    }

}